<template>
    <div class="box">
        <van-tabs v-model:active="active">
  <van-tab title="首页">内容 1</van-tab>
  <van-tab title="分类">内容 2</van-tab>
  <van-tab title="购物车">内容 3</van-tab>
  <van-tab title="我的">内容 4</van-tab>
</van-tabs>
    </div>
</template>

<script setup>
import {ref} from "vue"

 const active = ref(0);


</script>

<style lang="scss" scoped>

</style>